﻿using AntMovement.Core;
using AntMovement.Core.Model;
using AntMovement.WPF.Resources.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AntMovement.Menu.LogSystem.ViewModels
{
    public class RealTimeLogViewModel
    {
        public AsyncObservableCollection<LogInfoModel> InfoLog { get; set; }
        public AsyncObservableCollection<LogInfoModel> ErrorLog { get; set; }
        public RealTimeLogViewModel(ILog log)
        {
            InfoLog = (AsyncObservableCollection<LogInfoModel>)log.GetInfo();
            ErrorLog =(AsyncObservableCollection<LogInfoModel>)log.GetError();
        }
    }
}
